<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>添加客户信息</title>
<link href="<%=path%>/css/style_min.css" rel="stylesheet"
	type="text/css" />
<link href="<%=path%>/css/core.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/form.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/UsersSelect.css" rel="stylesheet"
	type="text/css" />
<link href="<%=path%>/css/xWindowPanel.css" rel="stylesheet"
	type="text/css" />
<link href="<%=path%>/css/xToolbar.css" rel="stylesheet" type="text/css" />
<style type="text/css">
input {
	width: 180px;
}

textarea {
	width: 503px;
	height: 40px;
}

select {
	width: 188px;
}

.n {
	text-align: right;
}
</style>
</head>
<body>
	<form name="customerForm" id="customerForm"
		action="<%=path%>/sales/customer/save.t4m" class="form" method="post">
		<div class="form-group">基本信息</div>
		<table class="form-table" cellspacing="0" cellpadding="0" width="100%">
			<tr>
				<td class="form-left" width="10%"><span class="form-required">*</span>客户编号</td>
				<td class="form-right" width="40%"><s:property value="customer.code" />
				</td>
				<td class="form-left" width="10%">助记码</td>
				<td class="form-right" width="40%"><s:property value="customer.helpCode" />
				</td>
			</tr>
			<tr>
				<td class="form-left"><span class="form-required">*</span>客户名称</td>
				<td class="form-right"><s:property value="customer.name" />
				</td>
				<td class="form-left">业务员</td>
				<td class="form-right"><s:property
						value="customer.operator.realName" />
				</td>
			</tr>
			<tr>
				<td class="form-left"><span class="form-required">*</span>客户类别</td>
				<td class="form-right"><s:property value="customer.type.name" />
				</td>
				<td class="form-left">所属地区</td>
				<td class="form-right"><s:property value="customer.region.name" />
				</td>
			</tr>
			<tr>
				<td class="form-left">备注</td>
				<td class="form-right" colspan="3"><s:property
						value="customer.remark" />
				</td>
			</tr>
		</table>
		<div class="form-group">联系方式</div>
		<table class="form-table" cellspacing="0" cellpadding="0" width="100%">
			<tr>
				<td class="form-left" width="10%"><span class="form-required">*</span>联系人</td>
				<td class="form-right" colspan="3" width="9%"><s:property
						value="customer.linkman" />
				</td>
			</tr>
			<tr>
				<td class="form-left" width="10%"><span class="form-required">*</span>电话号码</td>
				<td class="form-right" width="40%"><s:property value="customer.phone" />
				</td>
				<td class="form-left" width="10%"><span class="form-required">*</span>手机号码</td>
				<td class="form-right" width="40%"><s:property value="customer.mobile" />
				</td>
			</tr>
			<tr>
				<td class="form-left">传真号码</td>
				<td class="form-right"><s:property value="customer.fax" />
				</td>
				<td class="form-left"><span class="form-required">*</span>E-mail</td>
				<td class="form-right"><s:property value="customer.email" />
				</td>
			</tr>
			<tr>
				<td class="form-left">通讯地址</td>
				<td class="form-right" colspan="3"><s:property
						value="customer.address" />
				</td>
			</tr>
			<tr>
				<td class="form-left">收货地址</td>
				<td class="form-right" colspan="3"><s:property
						value="customer.takeAddress" />
				</td>
			</tr>
		</table>
		<s:hidden name="tabId" />
		<s:hidden name="windowPanelId" />
	</form>
	<script src="<%=path%>/js/prototype_for_validation.js"
		type="text/javascript"></script>
	<script src="<%=path%>/js/validation_cn.js" type="text/javascript"></script>
	<script src="<%=path%>/js/core.js" type="text/javascript"></script>
	<script src="<%=path%>/js/share.js" type="text/javascript"></script>
	<script src="<%=path%>/js/jquery.js" type="text/javascript"></script>
	<script src="<%=path%>/js/Validate.js" type="text/javascript"></script>
	<script src="<%=path%>/js/UsersSelect.js" type="text/javascript"></script>
	<script src="<%=path%>/js/xWindowPanel.js" type="text/javascript"></script>
	<script src="<%=path%>/js/Draggable.js" type="text/javascript"></script>
	<script src="<%=path%>/js/xToolbar.js" type="text/javascript"></script>
	<script src="<%=path%>/js/xToolbar.items.js" type="text/javascript"></script>
	<script type="text/javascript">
		
	</script>
</body>
</html>